package iso;

import java.io.File;
import java.io.IOException;

public class Test {

	public static void main(String[] args) throws IOException {
		MakeISO service1 = new MakeISO();
		// service.setLogEnabled(true);
		service1.setUdf(true);

		// mkisofs -o F:/movies.iso -udf -R -A -V -v E:/Others/movie

		// File srcDir = new File("E:/Others/movie");
		File srcDir = new File("F:/bt");
		File isoImageFile = new File("F:/bt.iso");

		service1.makeIso(srcDir, isoImageFile, "00000", "11111", 1, 1);
		service1.start();
		
		//		
		MakeISO service2 = new MakeISO();
		// service.setLogEnabled(true);
		service2.setUdf(true);
		
		File srcDir2 = new File("E:/Others/movie");
		File isoImageFile2 = new File("F:/movie.iso");

		service2.makeIso(srcDir2, isoImageFile2, "00001", "11112", 1, 1);
		service2.start();
	}

}
